const filterOption = {
	items: [
		{
			label: "关键字",
			type: "input",
			data: undefined,
			placeholder: "订单编号/售中单号/定制编码/收件人/手机号/用户ID",
			value: undefined,
			key: "keyWord"
		},
		{
			label: "单据类型",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "type"
		},
		{
			label: "入库仓库",
			type: "dropdown",
			data: [],
			placeholder: "请选择",
			value: undefined,
			key: "rukucangku"
		},
		{
			label: "供应商",
			type: "dropdown",
			data: [
			],
			placeholder: "请选择",
			value: undefined,
			key: "gongyingshang"
		},
		{
			label: "入库日期",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "onSaleApplyStartTime"
		},
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};

const path = ['仓储管理', '入库管理', '采购入库列表'];
const pager = {
	params: {
		pageIndex: 1,
		pageSize: 10,
	},
	pageTotal: 0,
	pageSizeArr: [10, 20, 30, 40]
};

const searchFromData = {
	barcode: undefined,
}

const configArr = [{
		color: "brown",
		label: "全部订单",
		value: "type1",
		count: 300
	},
	{
		color: "green",
		label: "待入库订单",
		value: "type2",
		count: 300
	},
];
const dialogForm = {
  payMethod:undefined,
  serialNumber:undefined,
  paymentMoney:undefined,
  payTime:undefined,
}

let Model = {
	data() {
		return {
			Model: {
				path,
				pager,
				filterOption,
        configArr,
        dialogForm,
        dialogFormVisible:false,
        nowSelectId:undefined,
				tableData: undefined,
				filterOptionData:undefined,
				saleManList:{},
				saleAfterOrderStatus:{},
				selectionList:[],
				searchFromData,
				// tableData: undefined,
				activeTab: '1',
				detailDialogFlag: false
			}
		}
	}
}
export default Model;
